package com.sofwin.yyb.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

@Data
@Accessors(chain = true)  //setter链式注入
@AllArgsConstructor
@NoArgsConstructor
public class PageInfo implements Serializable {
    private Integer pageNumber; //当前页数
    private Integer pageSize; //当前页面显示条数
    private Integer total; //用户总条数
    private Integer pageTotal; //页面总数
    private List dataList;

}
